#ifndef SCENETREEWIDGET_H
#define SCENETREEWIDGET_H

#include <QtGui/QApplication>
#include <QtGui/QWidget>
#include <QtGui/QTreeWidget>
#include "qtpropertymanager.h"
#include "qtvariantproperty.h"
#include "qttreepropertybrowser.h"

class SceneTreeWidget:public QTreeWidget
{
	Q_OBJECT

public:
	SceneTreeWidget(QWidget*parent=NULL);
	virtual ~SceneTreeWidget();
	QtTreePropertyBrowser *mPropertyWidow;
	QtVariantPropertyManager *mVariantManager;
public slots:
	void selChangedSlots();
	void propertyValueChanged(QtProperty *property, const QVariant &value);

protected:
	void contextMenuEvent(QContextMenuEvent *);

};
#endif